// GET_ASS_TYPE
import _ from "lodash";
import { handleActions } from "redux-actions";
import {GET_ASS_TYPE} from "../types";


//创建初始值
const initAddress = {
    ChildAll:[],
    TotalAll:[],
    assType:[]
}

export const ass_type = handleActions({
    [GET_ASS_TYPE]: (state, { payload }) => {
        const {data} = payload;
        return _.assign({}, state, data)
    },
 
}, initAddress)